<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>买入列表</title>
<script type="text/javascript" src="../scripts/itsm/business/buyIng.js"></script>
</head>
<body>
<div id="" style="display: none;" >
<form id="buy_search_form">
<br>
买入会员：<input name="buyQueryDTO.buyUser" value="">
状态：<select name="buyQueryDTO.status">
	<option value="">ALL</option>
	<option value="0">排队中</option>
	<option value="1">匹配成功</option>
	<option value="2">交易成功</option>
	<option value="4">已取消</option>
</select>
<a onclick="itsm.business.buy.searchBuy()" class="easyui-linkbutton" icon="icon-search" plain="true">搜索</a>
</form>
</div>

<div  id="buyIngGridToolbar" style="padding: 0px;display: none;">
	<a onclick="itsm.business.buyIng.changeOrder()" class="easyui-linkbutton" icon="" plain="true">调整顺序</a>
	<!-- <a onclick="itsm.business.buyIng.openEditOrder()" class="easyui-linkbutton" icon="" plain="true">修改</a> -->
</div>

<div title="调整顺序" id="changeBuyOrder_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="changeBuyOrder_form">
		<input type="hidden" name="buyDTO.id" id="buy_id" /><br>
		<input type="text" name="buyDTO.priority" id="buy_priority" /><br>
		<input type="text" name="buyDTO.createDate" id="buy_createDate" /><br>
		<a class="easyui-linkbutton" icon="icon-save" id="link_changeBuyOrder_save" href="javascript:itsm.business.buyIng.changeOrderOpt()">保存</a>
	</form>
</div>	

<div title="编辑" id="editBuyOrder_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="editBuyOrder_form">
		<input type="hidden" name="buyDTO.id" id="editbuy_id" /><br>
		<input type="hidden" name="buyDTO.remark" value="edit"/>
		价格：<input type="text" name="buyDTO.buyPrice" id="edit_buyPrice" /><br>
		股数:<input type="text" name="buyDTO.buyMoney" id="edit_buyMoney" /><br>
		<a class="easyui-linkbutton" icon="icon-save" id="link_changeBuyOrder_save" href="javascript:itsm.business.buyIng.editOrderOpt()">保存</a>
	</form>
</div>	


<table id='buyIngGrid'></table>
<div id='buyIngPager'></div>
</body>
</html>